package com.cap.bts.crmdp.mars.util;

import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class ThreadPoolUtil {
	private static ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(30, 2000, 2000, TimeUnit.MILLISECONDS,
			new LinkedBlockingQueue<Runnable>());

	public static void execute(Runnable command) {
		threadPoolExecutor.execute(command);
	}

}
